import request from '@/utils/request'

// 上传文件
export function upload(data) {
  return request({
    method: 'POST',
    url: '/sys/fileManager/upload',
    data,
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}
